@charset "utf-8";
@function p($px) {
    @return $px/2*1px;
}

//ip4
@media only screen and (max-height:480px) {
    body {
        .indexM {
            background-size: cover;
            .test {
                .testResults{
                    transform: scale(0.85);
                    margin-top: p(-50);
                }
                .ren{
                    left: p(100);
                }
            }
            
        }
    }
}

// IP5
@media only screen and (min-height:568px) and (max-height:666px) {
    body {
        .indexM {
            transform: scale(1);
        }
    }
}

// IP6
@media only screen and (min-height:667px) and (max-height:735px) {
    body {
        .indexM {
            .test {
                .testResults{
                    transform: scale(1.1);
                    margin-top: p(170);
                }
                .ren{
                    left: p(110);
                    bottom: p(110);
                }
            }
            
        }
    }
}

// IP6PL
@media only screen and (min-height:736px) {
    body {
        .indexM {
            .test {
                .testResults{
                    transform: scale(1.2);
                    margin-top: p(170);
                }
                .ren{
                    transform: scale(1.2);
                    left: p(140);
                    bottom: p(200);
                }
            }
            
        }
    }
}